<!DOCTYPE html>
<html lang="en" xmlns:https="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>location</title>
</head>
<script>


</script>
<body>

<button onclick="location.href='https://www.baidu.com'">跳转百度</button>
<button onclick="location.reload()">重新加载并刷新</button>
<button onclick="location.replace('https://www.jd.com')">替换当前标签栏中的地址</button>
</body>
</html>